#ifndef LOGIN_H
#define LOGIN_H

#include <QDialog>
#include "ui_login.h"
#include <QTextBrowser>
#include "QLineEdit"

QT_BEGIN_NAMESPACE
namespace Ui {
class Login;
}
QT_END_NAMESPACE

class Login : public QDialog
{
    Q_OBJECT

public:
    Login(QWidget *parent = nullptr);
    ~Login();

private:
    Ui::Login* ui;
    QLineEdit* nameline;
    QLineEdit* passwordline;

signals:
    void loginSuccess(int& userType, const QString& userName);

};

#endif //LOGIN_H
